post-install: Use gtk4-update-icon-cache
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Apr 2019 00:20:30 +0000 (00:20 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Apr 2019 00:27:32 +0000 (00:27 +0000)
I was building GTK in a minimal container without
GTK3 installed, and this caused install to fail.
We should use the tool that we just installed.

build-aux/meson/post-install.py

index d81abd28a40399f3794d4717facd1353cfce9fe2..5bdccbab91ead5f84001b61ac9c19d50d369afd5 100644 (file)
@@ -19,7 +19,7 @@ if 'DESTDIR' not in os.environ:
                     os.path.join(gtk_datadir, 'glib-2.0', 'schemas')])\r
 \r
     print('Updating icon cache...')\r
-    subprocess.call(['gtk-update-icon-cache', '-q', '-t' ,'-f',\r
+    subprocess.call(['gtk4-update-icon-cache', '-q', '-t' ,'-f',\r
                     os.path.join(gtk_datadir, 'icons', 'hicolor')])\r
 \r
     print('Updating module cache for print backends...')\r